<?php $this->load->view('home/layout/header') ?>
<header class="recom-head">
    <p>推荐</p>
</header>
<div id="recomment-share" class="widthMax recom-box">
    <?php if ($page_list->num_rows() > 0) :?>
    <ul class="share-content">
        <?php foreach ($page_list->result() as $item) : ?>
        <li>
            <a href="<?php echo $item->url;?>" class="recom-img">
                <h3><?php echo $item->name;?></h3>
                <img src="<?php echo $this->config->show_image_url($item->images)?>">
            </a>
            <div class="recom-share am-cf">
                <div class="share-left" data-link="<?php echo $item->url;?>" data-name="<?php echo $item->name;?>" data-img="<?php echo $this->config->show_image_url($item->images, '300-300')?>">
                    <i class="iconfont">&#xe605;</i>分享
                </div>
                <div class="promote-praise" data-id="<?php echo $item->id;?>" class="share-right">
                    <i class="iconfont">&#xe600;</i>
                    <span><?php echo $item->praise;?>
                </div>
            </div>
        </li>
        <?php endforeach;?>
    </ul>
    <?php endif; ?>
    <!-- 
    <div class="loadicon">
        <div class="recom-load">
            <i class="iconfont am-animation-spin">&#xe60b;</i>加载中..
        </div>
    </div>
     -->
</div>
<?php $this->load->view('home/layout/share');?>
<footer class="beizhu-foot">
    <ul class="am-cf">
        <li>
            <a href="<?php echo site_url();?>">
                <i class="iconfont">&#xe601;</i>
                <p>首页</p>
            </a>
        </li>
        <li>
            <a href="<?php echo $this->config->zzdy_url.'zzdy/zzdy/index';?>">
                <i class="iconfont">&#xe60c;</i>
                <p>发现</p>
            </a>
        </li>
        <li>
            <a class="active" href="<?php echo site_url('home/promote/topic');?>">
                <i class="iconfont">&#xe603;</i>
                <p>推荐</p>
            </a>
        </li>
        <li>
            <a href="<?php echo site_url('home/ucenter/index');?>">
                <i class="iconfont">&#xe604;</i>
                <p>我的</p>
            </a>
        </li>
    </ul>
</footer>
<?php $this->load->view('home/layout/footer') ?>
